import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyTable from '@/components/MyTable'
import MyTableFastMock from '@/components/MyTableFastMock'
import Department from '@/components/Department'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/myTable',
      name: 'MyTable',
      component: MyTable
    },{
      path: '/myTableFastMock',
      name: 'MyTableFastMock',
      component: MyTableFastMock
    },{
      path: '/department',
      name: 'Department',
      component: Department
    }
  ]
})
